<div class="resumes index">
<h2><?php __('Resumes');?></h2>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('id');?></th>
	<th><?php echo $paginator->sort('user_id');?></th>
	<th><?php echo $paginator->sort('name');?></th>
	<th><?php echo $paginator->sort('education');?></th>
	<th><?php echo $paginator->sort('degree');?></th>
	<th><?php echo $paginator->sort('sex');?></th>
	<th><?php echo $paginator->sort('nation');?></th>
	<th><?php echo $paginator->sort('political');?></th>
	<th><?php echo $paginator->sort('birthday');?></th>
	<th><?php echo $paginator->sort('speciality');?></th>
	<th><?php echo $paginator->sort('stature');?></th>
	<th><?php echo $paginator->sort('health');?></th>
	<th><?php echo $paginator->sort('seat');?></th>
	<th><?php echo $paginator->sort('photo');?></th>
	<th><?php echo $paginator->sort('edu_exper');?></th>
	<th><?php echo $paginator->sort('major_courses');?></th>
	<th><?php echo $paginator->sort('expert_level');?></th>
	<th><?php echo $paginator->sort('verbal_ability');?></th>
	<th><?php echo $paginator->sort('train_exper');?></th>
	<th><?php echo $paginator->sort('work_exper');?></th>
	<th><?php echo $paginator->sort('created');?></th>
	<th><?php echo $paginator->sort('modified');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($resumes as $resume):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $resume['Resume']['id']; ?>
		</td>
		<td>
			<?php echo $html->link($resume['User']['id'], array('controller' => 'users', 'action' => 'view', $resume['User']['id'])); ?>
		</td>
		<td>
			<?php echo $resume['Resume']['name']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['education']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['degree']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['sex']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['nation']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['political']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['birthday']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['speciality']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['stature']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['health']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['seat']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['photo']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['edu_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['major_courses']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['expert_level']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['verbal_ability']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['train_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['work_exper']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['created']; ?>
		</td>
		<td>
			<?php echo $resume['Resume']['modified']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('action' => 'view', $resume['Resume']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action' => 'edit', $resume['Resume']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action' => 'delete', $resume['Resume']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $resume['Resume']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('New Resume', true), array('action' => 'add')); ?></li>
		<li><?php echo $html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
